<?php
    session_start();
    if(isset($_GET['lang'])){
        $_SESSION['lang'] = $_GET['lang'];
    }else{
        if(!isset($_SESSION['lang']) OR $_SESSION['lang']==''){
            $_SESSION['lang'] = 'th';
        }
    }
    
    include_once('config.ini.php');
    include_once('localization/localization.class.php');
    
    $local = new Localization($_SESSION['lang']);
?>